package com.todo.partner.iface.frontend;


import com.todo.common.common.entity.response.BizPageResponse;
import com.todo.common.common.entity.response.BizResponse;
import com.todo.partner.iface.frontend.request.*;
import com.todo.partner.iface.frontend.response.ContentPartnerBaseVO;
import com.todo.partner.iface.frontend.response.ContentPartnerDetailVO;

/**
 * @author azhebuxing
 * @date 2024/6/4 13:44
 * @description
 */
public interface ContentPartnerFrontendIface {

    /**
     * 新增搭子内容
     *
     * @param param
     * @return
     */
    BizResponse<Boolean> insertContentPartner(InsertContentPartnerParam param);

    /**
     * 更新搭子内容
     *
     * @param param
     * @return
     */
    BizResponse<Boolean> updateContentPartnerById(UpdateContentPartnerByIdParam param);

    /**
     * 根据主键删除搭子内容
     *
     * @param param
     * @return
     */
    BizResponse<Boolean> removeContentPartnerById(RemoveContentPartnerByIdParam param);

    /**
     * 查询搭子内容详情
     *
     * @param param
     * @return
     */
    BizResponse<ContentPartnerDetailVO> queryContentPartnerDetail(QueryContentPartnerDetailParam param);

    /**
     * 分页查询搭子内容信息
     *
     * @param param
     * @return
     */
    BizPageResponse<ContentPartnerBaseVO> queryContentPartnerByPage(QueryContentPartnerByPageParam param);
}
